package com.example.tool.module;

/**
 * 输入框名称或文件模板中需要替换的key标识
 */
public enum ModuleInputEnum {
  ROOT_PATH("RootPath", "根路径"),
  PLUG_ID("PlugId", "插件ID"),
  PLUG_NAME("PlugName", "插件名称"),
  PLUG_CODE("PlugCode", "插件编码"),
  BUILD_PATH("BuildPath", "编译目录"),
  DEBUG_PORT("DebugPort", "调试端口"),
  ROUSE_PATH("PlugId", "源代码目录"),
  CLASS_NANE("ClassName", "类名"),// （不含后缀）
  PATH("Path", "请求地址"),
  CLASS_ALL_NAME("ClassAllName", "类全路径"),
  BEAN_NANE("BeanName", "Bean名"),// 创建类就会有该值
  COLUMN_NAME("ColumnName", "栏目名"),
  CONFIGURATION_NAME("Configuration", "配置Configuration"),
  EVENT_NAME("EventName", "事件名称"),
  CONTROLS_NAME("ControlsName", "控件名称"),
  HTML_NAME("HtmlName", "HTML文件"),
  JS_NAME("JsName", "JS文件"),
  DB_TYPE("DbType", "数据库类型"),
  DB_URL("DbUrl", "数据库地址"),
  DB_USER("DbUser", "用户名"),
  DB_PASSWORD("DbPassword", "密码"),
  FIELD_HAS("FieldHas", "实体类字段"),
  FIELD_SHIFT("FieldShift", "字段转换类型"),
  FIELD_XML("FieldXml", "是否生成XML"),
  PACKAGE("package", "包路径"),
  ;
  private final String key;
  private final String value;

  public String getKey() {
    return key;
  }

  public String getValue() {
    return value;
  }

  ModuleInputEnum(String key, String value) {
    this.key = key;
    this.value = value;
  }
}